.. _CC Structures: ========================== CC Structures ========================== .. toctree:: :maxdepth: 1 * :ref:`CCacheStatus` * :ref:`CCallbackBase` * :ref:`CCharacterFile` * :ref:`CChatBuffer` * :ref:`CChitin` * :ref:`CCmdTarget` * :ref:`CColorEffect` * :ref:`CColorEffects` * :ref:`CColorRange` * :ref:`CColorRanges` * :ref:`CContingency` * :ref:`CContingencyList` * :ref:`CContingencySpell` * :ref:`CCreatureFile` * :ref:`CCreatureFileEquipment` * :ref:`CCreatureFileHeader` * :ref:`CCreatureFileItem` * :ref:`CCreatureFileKnownSpell` * :ref:`CCreatureFileMemorizedSpell` * :ref:`CCreatureFileMemorizedSpellLevel` * :ref:`CCreatureFileOffsets` * :ref:`CCriticalEntry` * :ref:`CCriticalEntryList` * :ref:`CCrypt` .. _CCacheStatus: CCacheStatus ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CCacheStatus Class` +------------+------------------------+-------------------------------+-------------------------+ | **Offset** | **Size (Total: 1080)** | **Type** | **Field** | +------------+------------------------+-------------------------------+-------------------------+ | 0x0 | 4 | int | m_nDrawnBars | +------------+------------------------+-------------------------------+-------------------------+ | 0x4 | 4 | int | m_nScreensDrawn | +------------+------------------------+-------------------------------+-------------------------+ | 0x8 | 4 | int | m_bDemandedResources | +------------+------------------------+-------------------------------+-------------------------+ | 0xC | 4 | int | m_bTravelScreen | +------------+------------------------+-------------------------------+-------------------------+ | 0x10 | 4 | int | m_nProgressBarCaption | +------------+------------------------+-------------------------------+-------------------------+ | 0x14 | 4 | int | m_nParchmentCaption | +------------+------------------------+-------------------------------+-------------------------+ | 0x18 | 4 | unsigned int | m_dwLastUpdateTickCount | +------------+------------------------+-------------------------------+-------------------------+ | 0x1C | 4 | int | m_nTimeToNewHint | +------------+------------------------+-------------------------------+-------------------------+ | 0x20 | 4 | int | m_nCurrentHint | +------------+------------------------+-------------------------------+-------------------------+ | 0x24 | 4 | int | m_nCurrentHintRef | +------------+------------------------+-------------------------------+-------------------------+ | 0x28 | 4 | int | m_bWaiting | +------------+------------------------+-------------------------------+-------------------------+ | | 4 | | ```` | +------------+------------------------+-------------------------------+-------------------------+ | 0x30 | 40 | :ref:`CVidFont` | m_vidFont | +------------+------------------------+-------------------------------+-------------------------+ | 0x58 | 40 | :ref:`CVidFont` | m_initialsFont | +------------+------------------------+-------------------------------+-------------------------+ | 0x80 | 40 | :ref:`CVidFont` | m_parchmentFont | +------------+------------------------+-------------------------------+-------------------------+ | 0xA8 | 272 | :ref:`CVidMosaic` | m_titleBar | +------------+------------------------+-------------------------------+-------------------------+ | 0x1B8 | 312 | :ref:`CVidCell` | m_skullAnimating | +------------+------------------------+-------------------------------+-------------------------+ | 0x2F0 | 312 | :ref:`CVidCell` | m_progressBar | +------------+------------------------+-------------------------------+-------------------------+ | 0x428 | 4 | int | m_nAnimationFrame | +------------+------------------------+-------------------------------+-------------------------+ | 0x42C | 4 | int | m_nAnimationDirection | +------------+------------------------+-------------------------------+-------------------------+ | 0x430 | 4 | int | m_bActivateEngine | +------------+------------------------+-------------------------------+-------------------------+ | | 4 | | ```` | +------------+------------------------+-------------------------------+-------------------------+ ---- .. _CCallbackBase: CCallbackBase ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-----------------+------------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+-----------------+------------------+ | 0x0 | 8 | qword | vfptr | +------------+----------------------+-----------------+------------------+ | 0x8 | 1 | unsigned __int8 | m_nCallbackFlags | +------------+----------------------+-----------------+------------------+ | | 3 | | ```` | +------------+----------------------+-----------------+------------------+ | 0xC | 4 | int | m_iCallback | +------------+----------------------+-----------------+------------------+ ---- .. _CCharacterFile: CCharacterFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+--------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+--------------------------------------------------------------+-------------+ | 0x0 | 16 | :ref:`CResHelper`\<:ref:`CResCHR`,1018> | baseclass_0 | +------------+----------------------+--------------------------------------------------------------+-------------+ ---- .. _CChatBuffer: CChatBuffer ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CChatBuffer Class` +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------+ | **Offset** | **Size (Total: 120)** | **Type** | **Field** | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------+ | 0x0 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CString`\*> | m_lLabels | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------+ | 0x38 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CString`\*> | m_lMessages | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------+ | 0x70 | 4 | int | m_nMessageCount | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------+ | 0x74 | 4 | int | m_nDisplayCount | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------+ ---- .. _CChitin: CChitin ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CChitin Class` +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | **Offset** | **Size (Total: 4232)** | **Type** | **Field** | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x0 | 8 | qword | vfptr | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x8 | 4 | int | m_mouseLButton | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xC | 4 | int | m_mouseRButton | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x10 | 4 | int | m_bMouseLButtonDown | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x14 | 8 | tagPOINT | m_mouseLDblClickPoint | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1C | 4 | unsigned int | m_mouseLDblClickCount | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x20 | 4 | int | m_bMouseRButtonDown | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x24 | 8 | tagPOINT | m_mouseRDblClickPoint | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x2C | 4 | unsigned int | m_mouseRDblClickCount | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x30 | 4 | int | m_bMouseMButtonDown | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x34 | 8 | tagPOINT | m_mouseMDblClickPoint | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x3C | 4 | unsigned int | m_mouseMDblClickCount | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x40 | 4 | unsigned int | m_mouseDblClickTime | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x44 | 8 | tagSIZE | m_mouseDblClickSize | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x4C | 4 | int | bEngineActive | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x50 | 4 | int | bServicingEnabled | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x54 | 4 | int | bMessagesEnabled | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x58 | 56 | :ref:`CObList` | lEngines | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x90 | 4 | unsigned int | nIterations | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | | 4 | | ```` | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x98 | 8 | :ref:`CWarp`\* | pStartingEngine | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xA0 | 4 | unsigned int | nTimer | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xA4 | 4 | unsigned int | nTimerRes | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xA8 | 8 | :ref:`CString` | m_sCommandLine | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xB0 | 16 | :ref:`CRect` | m_rClient | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xC0 | 1 | unsigned __int8 | m_bReInitializing | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xC1 | 1 | unsigned __int8 | m_bScreenEdgeScroll | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | | 2 | | ```` | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xC4 | 4 | unsigned int | m_opSystemPlatformId | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xC8 | 2 | __int16 | m_capsLockState | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | | 2 | | ```` | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xCC | 8 | :ref:`CPoint` | m_ptScreen | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xD4 | 4 | int | m_bStartUpHost | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xD8 | 4 | int | m_bStartUpConnect | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | | 4 | | ```` | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xE0 | 8 | :ref:`CString` | m_sStartUpAddress | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xE8 | 8 | :ref:`CString` | m_sStartUpPort | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xF0 | 8 | :ref:`CString` | m_sStartUpPlayer | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xF8 | 8 | :ref:`CString` | m_sStartUpPassword | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x100 | 4 | int | m_bStartUpNewGame | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x104 | 4 | int | m_bStartUpLoadGame | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x108 | 8 | :ref:`CString` | m_sStartUpSession | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x110 | 1 | unsigned __int8 | m_bStartUpDirectPlayLobby | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x111 | 1 | unsigned __int8 | m_bStartUpGameSpyLocation | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | | 6 | | ```` | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x118 | 8 | :ref:`CString` | m_sStartUpGameSpyLocation | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x120 | 1 | unsigned __int8 | m_bStartUpThroneOfBhaal | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | | 7 | | ```` | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x128 | 8 | :ref:`CSoundMixer`\* | cSoundMixer | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x130 | 4 | int | m_nMaxPlayers | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x134 | 4 | int | m_nCurrentSong | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x138 | 16 | :ref:`_EAXPRESET<_EAXPRESET>` | m_nSoundEnvironment | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x148 | 4 | int | m_bSoundInitialized | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x14C | 1 | unsigned __int8 | padding | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | | 3 | | ```` | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x150 | 4 | int | m_bInMouseWheelQueue | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | | 4 | | ```` | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x158 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`,long*> | m_lstMouseWheel | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x190 | 4 | unsigned int | m_wheelScrollLines | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x194 | 4 | int | m_bIsMouseInWindow | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x198 | 4 | int | m_bFrameOutline | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x19C | 4 | int | m_bUseMirrorFX | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1A0 | 4 | unsigned int | m_msgAutoPlay | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | | 4 | | ```` | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1A8 | 8 | void* | m_hEvent | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1B0 | 1 | unsigned __int8 | m_bUsePlanescapeSoundReductionCurve | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | | 3 | | ```` | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1B4 | 4 | unsigned int | m_nSoundReductionCurveRadius | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1B8 | 4 | unsigned int | m_nTickCount | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1BC | 4 | int | m_nAIPerSec | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1C0 | 4 | int | m_nAIElasped | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1C4 | 4 | unsigned int | m_nRenderTickCount | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1C8 | 4 | int | m_nRenderPerSec | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1CC | 4 | int | m_nRenderElasped | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1D0 | 4 | int | m_nAISleeper | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1D4 | 4 | int | m_bIsTouchUI | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1D8 | 4 | int | m_bUseBGRA | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1DC | 4 | int | m_bRenderTilesLinear | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1E0 | 8 | :ref:`CString` | m_sFontName | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1E8 | 4 | int | m_nFullFrameTimer | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1EC | 4 | int | m_nGameTimer | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1F0 | 4 | int | m_nRenderTimer | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1F4 | 4 | int | m_nSearchTimer | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1F8 | 8 | :ref:`_iobuf<_iobuf>`\* | m_fFrameTimeLog | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x200 | 4 | int | m_bLogFrames | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | | 4 | | ```` | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x208 | 8 | :ref:`CWarp`\* | pActiveEngine | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x210 | 8 | :ref:`CVideo` | cVideo | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x218 | 3064 | :ref:`CNetwork` | cNetwork | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xE10 | 384 | CSteam | cSteam | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xF90 | 1 | unsigned __int8 | padding2 | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | | 3 | | ```` | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xF94 | 4 | int | bPointerUpdated | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xF98 | 8 | :ref:`CPoint` | cMousePosition | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xFA0 | 4 | int | nAUCounter | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xFA4 | 4 | int | bInTimer | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xFA8 | 4 | int | m_AIStale | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xFAC | 4 | int | m_displayStale | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xFB0 | 4 | int | m_bInSyncUpdate | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xFB4 | 4 | unsigned int | m_keyRepeatDelay | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xFB8 | 4 | unsigned int | m_keyRepeatRate | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0xFBC | 112 | :ref:`CProgressBar` | cProgressBar | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x102C | 2 | unsigned __int16 | m_nAICounter | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | | 2 | | ```` | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1030 | 4 | int | m_bManualFrameControl | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1034 | 4 | int | m_displayDebug | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1038 | 4 | int | m_displaySerialize | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x103C | 4 | int | m_bExitOnError | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1040 | 4 | int | m_bEnableCucumber | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | | 4 | | ```` | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1048 | 8 | :ref:`CResRef`\* | pCurRes | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1050 | 8 | :ref:`CString` | m_sFontNameNormal | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1058 | 8 | :ref:`CString` | m_sFontNameRealms | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1060 | 8 | :ref:`CString` | m_sFontNameStoneBig | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1068 | 8 | :ref:`CString` | m_sFontNameStoneSml | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1070 | 8 | :ref:`CString` | m_sFontNameToolFont | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1078 | 8 | :ref:`CString` | m_sFontNameFloatTxt | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1080 | 4 | int | m_bDisplaySubtitles | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ | 0x1084 | 4 | int | m_bReverseMouseWheelZoom | +------------+------------------------+-----------------------------------------------------------------------+-------------------------------------+ ---- .. _CClosure: CClosure ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+------------------------------------+---------------+ | **Offset** | **Size (Total: 48)** | **Type** | **Field** | +------------+----------------------+------------------------------------+---------------+ | 0x0 | 8 | GCObject* | next | +------------+----------------------+------------------------------------+---------------+ | 0x8 | 1 | unsigned __int8 | tt | +------------+----------------------+------------------------------------+---------------+ | 0x9 | 1 | unsigned __int8 | marked | +------------+----------------------+------------------------------------+---------------+ | 0xA | 1 | unsigned __int8 | nupvalues | +------------+----------------------+------------------------------------+---------------+ | | 5 | | ```` | +------------+----------------------+------------------------------------+---------------+ | 0x10 | 8 | GCObject* | gclist | +------------+----------------------+------------------------------------+---------------+ | 0x18 | 8 | int (__fastcall \*f)(lua_State\*); | f | +------------+----------------------+------------------------------------+---------------+ | 0x20 | 16 | Array | upvalue | +------------+----------------------+------------------------------------+---------------+ ---- .. _CCmdTarget: CCmdTarget ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+---------------------+-------------------------+-------------+ | **Offset** | **Size (Total: 8)** | **Type** | **Field** | +------------+---------------------+-------------------------+-------------+ | 0x0 | 8 | :ref:`CObject` | baseclass_0 | +------------+---------------------+-------------------------+-------------+ ---- .. _CColorEffect: CColorEffect ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-----------------+----------------+ | **Offset** | **Size (Total: 12)** | **Type** | **Field** | +------------+----------------------+-----------------+----------------+ | 0x0 | 1 | unsigned __int8 | m_effectType | +------------+----------------------+-----------------+----------------+ | 0x1 | 1 | unsigned __int8 | m_range | +------------+----------------------+-----------------+----------------+ | | 2 | | ```` | +------------+----------------------+-----------------+----------------+ | 0x4 | 4 | unsigned int | m_tintColor | +------------+----------------------+-----------------+----------------+ | 0x8 | 1 | unsigned __int8 | m_periodLength | +------------+----------------------+-----------------+----------------+ | | 3 | | ```` | +------------+----------------------+-----------------+----------------+ ---- .. _CColorEffects: CColorEffects ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+------------------------------------------------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 56)** | **Type** | **Field** | +------------+----------------------+------------------------------------------------------------------------------------------------------+-------------+ | 0x0 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CColorEffect`\*> | baseclass_0 | +------------+----------------------+------------------------------------------------------------------------------------------------------+-------------+ ---- .. _CColorRange: CColorRange ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+---------------------+-----------------+-----------+ | **Offset** | **Size (Total: 2)** | **Type** | **Field** | +------------+---------------------+-----------------+-----------+ | 0x0 | 1 | unsigned __int8 | m_range | +------------+---------------------+-----------------+-----------+ | 0x1 | 1 | unsigned __int8 | m_color | +------------+---------------------+-----------------+-----------+ ---- .. _CColorRanges: CColorRanges ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+----------------------------------------------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 56)** | **Type** | **Field** | +------------+----------------------+----------------------------------------------------------------------------------------------------+-------------+ | 0x0 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CColorRange`\*> | baseclass_0 | +------------+----------------------+----------------------------------------------------------------------------------------------------+-------------+ ---- .. _CContingency: CContingency ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+-------------------------------------+----------------+ | **Offset** | **Size (Total: 480)** | **Type** | **Field** | +------------+-----------------------+-------------------------------------+----------------+ | 0x0 | 64 | :ref:`CAITrigger` | m_cTrigger | +------------+-----------------------+-------------------------------------+----------------+ | 0x40 | 8 | :ref:`CResRef` | m_cSpellRes | +------------+-----------------------+-------------------------------------+----------------+ | 0x48 | 8 | :ref:`CResRef` | m_cSpellRes2 | +------------+-----------------------+-------------------------------------+----------------+ | 0x50 | 8 | :ref:`CResRef` | m_cSpellRes3 | +------------+-----------------------+-------------------------------------+----------------+ | 0x58 | 24 | :ref:`CAIObjectType` | m_cTarget | +------------+-----------------------+-------------------------------------+----------------+ | 0x70 | 4 | unsigned int | m_dwFlags | +------------+-----------------------+-------------------------------------+----------------+ | | 4 | | ```` | +------------+-----------------------+-------------------------------------+----------------+ | 0x78 | 344 | :ref:`CGameEffect` | m_parentEffect | +------------+-----------------------+-------------------------------------+----------------+ | 0x1D0 | 4 | unsigned int | m_dwTarget | +------------+-----------------------+-------------------------------------+----------------+ | 0x1D4 | 4 | unsigned int | m_dwCondition | +------------+-----------------------+-------------------------------------+----------------+ | 0x1D8 | 4 | unsigned int | m_nLastCheck | +------------+-----------------------+-------------------------------------+----------------+ | | 4 | | ```` | +------------+-----------------------+-------------------------------------+----------------+ ---- .. _CContingencyList: CContingencyList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+------------------------------------------------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 56)** | **Type** | **Field** | +------------+----------------------+------------------------------------------------------------------------------------------------------+-------------+ | 0x0 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CContingency`\*> | baseclass_0 | +------------+----------------------+------------------------------------------------------------------------------------------------------+-------------+ ---- .. _CContingencySpell: CContingencySpell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+--------------------------+-----------+ | **Offset** | **Size (Total: 18)** | **Type** | **Field** | +------------+----------------------+--------------------------+-----------+ | 0x0 | 8 | Array | m_spellId | +------------+----------------------+--------------------------+-----------+ | 0x8 | 8 | Array | m_origId | +------------+----------------------+--------------------------+-----------+ | 0x10 | 2 | unsigned __int16 | m_flags | +------------+----------------------+--------------------------+-----------+ ---- .. _CCreatureFile: CCreatureFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+--------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+--------------------------------------------------------------+-------------+ | 0x0 | 16 | :ref:`CResHelper`\<:ref:`CResCRE`,1009> | baseclass_0 | +------------+----------------------+--------------------------------------------------------------+-------------+ ---- .. _CCreatureFileEquipment: CCreatureFileEquipment ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+----------------------------+-------------------------+ | **Offset** | **Size (Total: 80)** | **Type** | **Field** | +------------+----------------------+----------------------------+-------------------------+ | 0x0 | 2 | unsigned __int16 | m_helmetItem | +------------+----------------------+----------------------------+-------------------------+ | 0x2 | 2 | unsigned __int16 | m_armorItem | +------------+----------------------+----------------------------+-------------------------+ | 0x4 | 2 | unsigned __int16 | m_shieldItem | +------------+----------------------+----------------------------+-------------------------+ | 0x6 | 2 | unsigned __int16 | m_gauntletsItem | +------------+----------------------+----------------------------+-------------------------+ | 0x8 | 2 | unsigned __int16 | m_ringLeftItem | +------------+----------------------+----------------------------+-------------------------+ | 0xA | 2 | unsigned __int16 | m_ringRightItem | +------------+----------------------+----------------------------+-------------------------+ | 0xC | 2 | unsigned __int16 | m_amuletItem | +------------+----------------------+----------------------------+-------------------------+ | 0xE | 2 | unsigned __int16 | m_beltItem | +------------+----------------------+----------------------------+-------------------------+ | 0x10 | 2 | unsigned __int16 | m_bootsItem | +------------+----------------------+----------------------------+-------------------------+ | 0x12 | 8 | Array | m_weaponItem | +------------+----------------------+----------------------------+-------------------------+ | 0x1A | 8 | Array | m_ammoItem | +------------+----------------------+----------------------------+-------------------------+ | 0x22 | 2 | unsigned __int16 | m_cloakItem | +------------+----------------------+----------------------------+-------------------------+ | 0x24 | 40 | Array | m_miscItem | +------------+----------------------+----------------------------+-------------------------+ | 0x4C | 2 | unsigned __int16 | m_selectedWeapon | +------------+----------------------+----------------------------+-------------------------+ | 0x4E | 2 | unsigned __int16 | m_selectedWeaponAbility | +------------+----------------------+----------------------------+-------------------------+ **Notes** Related to `CRE V1.0 Item Slots `_ ---- .. _CCreatureFileHeader: CCreatureFileHeader ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+--------------------------+--------------------------------+ | **Offset** | **Size (Total: 616)** | **Type** | **Field** | +------------+-----------------------+--------------------------+--------------------------------+ | 0x0 | 4 | unsigned int | m_name | +------------+-----------------------+--------------------------+--------------------------------+ | 0x4 | 4 | unsigned int | m_apparentName | +------------+-----------------------+--------------------------+--------------------------------+ | 0x8 | 4 | unsigned int | m_flags | +------------+-----------------------+--------------------------+--------------------------------+ | 0xC | 4 | unsigned int | m_xpValue | +------------+-----------------------+--------------------------+--------------------------------+ | 0x10 | 4 | unsigned int | m_xp | +------------+-----------------------+--------------------------+--------------------------------+ | 0x14 | 4 | unsigned int | m_gold | +------------+-----------------------+--------------------------+--------------------------------+ | 0x18 | 4 | unsigned int | m_generalState | +------------+-----------------------+--------------------------+--------------------------------+ | 0x1C | 2 | __int16 | m_hitPoints | +------------+-----------------------+--------------------------+--------------------------------+ | 0x1E | 2 | unsigned __int16 | m_maxHitPointsBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x20 | 4 | unsigned int | m_animationType | +------------+-----------------------+--------------------------+--------------------------------+ | 0x24 | 7 | Array | m_colors | +------------+-----------------------+--------------------------+--------------------------------+ | 0x2B | 1 | unsigned __int8 | m_effectVersion | +------------+-----------------------+--------------------------+--------------------------------+ | 0x2C | 8 | Array | m_portraitSmall | +------------+-----------------------+--------------------------+--------------------------------+ | 0x34 | 8 | Array | m_portraitLarge | +------------+-----------------------+--------------------------+--------------------------------+ | 0x3C | 1 | unsigned __int8 | m_reputation | +------------+-----------------------+--------------------------+--------------------------------+ | 0x3D | 1 | unsigned __int8 | m_hideInShadowsBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x3E | 2 | __int16 | m_armorClass | +------------+-----------------------+--------------------------+--------------------------------+ | 0x40 | 2 | __int16 | m_armorClassBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x42 | 2 | __int16 | m_armorClassCrushingAdjustment | +------------+-----------------------+--------------------------+--------------------------------+ | 0x44 | 2 | __int16 | m_armorClassMissileAdjustment | +------------+-----------------------+--------------------------+--------------------------------+ | 0x46 | 2 | __int16 | m_armorClassPiercingAdjustment | +------------+-----------------------+--------------------------+--------------------------------+ | 0x48 | 2 | __int16 | m_armorClassSlashingAdjustment | +------------+-----------------------+--------------------------+--------------------------------+ | 0x4A | 1 | char | m_toHitArmorClass0Base | +------------+-----------------------+--------------------------+--------------------------------+ | 0x4B | 1 | unsigned __int8 | m_numberOfAttacksBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x4C | 1 | unsigned __int8 | m_saveVSDeathBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x4D | 1 | unsigned __int8 | m_saveVSWandsBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x4E | 1 | unsigned __int8 | m_saveVSPolyBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x4F | 1 | unsigned __int8 | m_saveVSBreathBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x50 | 1 | unsigned __int8 | m_saveVSSpellBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x51 | 1 | char | m_resistFireBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x52 | 1 | char | m_resistColdBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x53 | 1 | char | m_resistElectricityBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x54 | 1 | char | m_resistAcidBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x55 | 1 | char | m_resistMagicBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x56 | 1 | char | m_resistMagicFireBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x57 | 1 | char | m_resistMagicColdBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x58 | 1 | char | m_resistSlashingBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x59 | 1 | char | m_resistCrushingBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x5A | 1 | char | m_resistPiercingBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x5B | 1 | char | m_resistMissileBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x5C | 1 | unsigned __int8 | m_detectIllusionBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x5D | 1 | unsigned __int8 | m_setTrapsBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x5E | 1 | unsigned __int8 | m_loreBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x5F | 1 | unsigned __int8 | m_lockPickingBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x60 | 1 | unsigned __int8 | m_moveSilentlyBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x61 | 1 | unsigned __int8 | m_trapsBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x62 | 1 | unsigned __int8 | m_pickPocketBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x63 | 1 | unsigned __int8 | m_fatigue | +------------+-----------------------+--------------------------+--------------------------------+ | 0x64 | 1 | unsigned __int8 | m_intoxication | +------------+-----------------------+--------------------------+--------------------------------+ | 0x65 | 1 | char | m_luckBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x66 | 15 | Array | m_proficiencies | +------------+-----------------------+--------------------------+--------------------------------+ | 0x75 | 1 | unsigned __int8 | m_bNightmare | +------------+-----------------------+--------------------------+--------------------------------+ | 0x76 | 1 | unsigned __int8 | m_nTranslucent | +------------+-----------------------+--------------------------+--------------------------------+ | 0x77 | 1 | char | m_repChangeKilled | +------------+-----------------------+--------------------------+--------------------------------+ | 0x78 | 1 | char | m_repChangeJoined | +------------+-----------------------+--------------------------+--------------------------------+ | 0x79 | 1 | char | m_repChangeKicked | +------------+-----------------------+--------------------------+--------------------------------+ | 0x7A | 1 | unsigned __int8 | m_undeadLevel | +------------+-----------------------+--------------------------+--------------------------------+ | 0x7B | 1 | unsigned __int8 | m_trackingBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x7C | 32 | Array | m_trackingTarget | +------------+-----------------------+--------------------------+--------------------------------+ | 0x9C | 400 | Array | m_speech | +------------+-----------------------+--------------------------+--------------------------------+ | 0x22C | 1 | unsigned __int8 | m_level1 | +------------+-----------------------+--------------------------+--------------------------------+ | 0x22D | 1 | unsigned __int8 | m_level2 | +------------+-----------------------+--------------------------+--------------------------------+ | 0x22E | 1 | unsigned __int8 | m_level3 | +------------+-----------------------+--------------------------+--------------------------------+ | 0x22F | 1 | unsigned __int8 | m_sex | +------------+-----------------------+--------------------------+--------------------------------+ | 0x230 | 1 | unsigned __int8 | m_STRBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x231 | 1 | unsigned __int8 | m_STRExtraBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x232 | 1 | unsigned __int8 | m_INTBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x233 | 1 | unsigned __int8 | m_WISBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x234 | 1 | unsigned __int8 | m_DEXBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x235 | 1 | unsigned __int8 | m_CONBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x236 | 1 | unsigned __int8 | m_CHRBase | +------------+-----------------------+--------------------------+--------------------------------+ | 0x237 | 1 | unsigned __int8 | m_morale | +------------+-----------------------+--------------------------+--------------------------------+ | 0x238 | 1 | unsigned __int8 | m_moraleBreak | +------------+-----------------------+--------------------------+--------------------------------+ | 0x239 | 1 | unsigned __int8 | m_hatedRace | +------------+-----------------------+--------------------------+--------------------------------+ | 0x23A | 2 | unsigned __int16 | m_moraleRecoveryTime | +------------+-----------------------+--------------------------+--------------------------------+ | 0x23C | 2 | unsigned __int16 | m_mageSpecUpperWord | +------------+-----------------------+--------------------------+--------------------------------+ | 0x23E | 2 | unsigned __int16 | m_mageSpecialization | +------------+-----------------------+--------------------------+--------------------------------+ | 0x240 | 8 | Array | m_scriptOverRide | +------------+-----------------------+--------------------------+--------------------------------+ | 0x248 | 8 | Array | m_scriptClass | +------------+-----------------------+--------------------------+--------------------------------+ | 0x250 | 8 | Array | m_scriptRace | +------------+-----------------------+--------------------------+--------------------------------+ | 0x258 | 8 | Array | m_scriptGeneral | +------------+-----------------------+--------------------------+--------------------------------+ | 0x260 | 8 | Array | m_scriptDefault | +------------+-----------------------+--------------------------+--------------------------------+ **Notes** Related to `CRE V1.0 Header `_ * **m_generalState** (offset ``0x18``) contains values found in ``STATE.IDS`` * **m_animationType** (offset ``0x20``) contains values found in ``ANIMATE.IDS`` * **m_effectVersion** (offset ``0x2B``) contains: ``0`` version 1 EFF or ``1`` version 2 EFF * **m_hatedRace** (offset ``0x239``) contains racial enemy values found in ``RACE.IDS`` ---- .. _CCreatureFileItem: CCreatureFileItem ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+---------------------------+----------------+ | **Offset** | **Size (Total: 20)** | **Type** | **Field** | +------------+----------------------+---------------------------+----------------+ | 0x0 | 8 | Array | m_itemId | +------------+----------------------+---------------------------+----------------+ | 0x8 | 2 | unsigned __int16 | m_wear | +------------+----------------------+---------------------------+----------------+ | 0xA | 6 | Array | m_usageCount | +------------+----------------------+---------------------------+----------------+ | 0x10 | 4 | unsigned int | m_dynamicFlags | +------------+----------------------+---------------------------+----------------+ **Notes** Related to `CRE V1.0 Items Table `_ * **m_wear** (offset ``0x08``) item expiration time * **m_usageCount[3]** (offset ``0x0A``) item quantity/charges * **m_dynamicFlags** (offset ``0x10``) contains: bit ``0`` = Identified, bit ``1`` = Unstealable, bit ``2`` = Stolen, bit ``3`` = Undroppable ---- .. _CCreatureFileKnownSpell: CCreatureFileKnownSpell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+--------------------------+----------------+ | **Offset** | **Size (Total: 12)** | **Type** | **Field** | +------------+----------------------+--------------------------+----------------+ | 0x0 | 8 | Array | m_knownSpellId | +------------+----------------------+--------------------------+----------------+ | 0x8 | 2 | unsigned __int16 | m_spellLevel | +------------+----------------------+--------------------------+----------------+ | 0xA | 2 | unsigned __int16 | m_magicType | +------------+----------------------+--------------------------+----------------+ **Notes** Related to `CRE V1.0 Known Spells `_ * **m_magicType** (offset ``0x0A``) contains: ``0`` = Priest, ``1`` = Wizard, ``2`` = Innate ---- .. _CCreatureFileMemorizedSpell: CCreatureFileMemorizedSpell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+--------------------------+---------------------+ | **Offset** | **Size (Total: 12)** | **Type** | **Field** | +------------+----------------------+--------------------------+---------------------+ | 0x0 | 8 | Array | m_spellId | +------------+----------------------+--------------------------+---------------------+ | 0x8 | 2 | unsigned __int16 | m_flags | +------------+----------------------+--------------------------+---------------------+ | 0xA | 2 | Array | structureAlignment1 | +------------+----------------------+--------------------------+---------------------+ **Notes** Related to `CRE V1.0 Memorized Spells Table `_ * **m_flags** (offset ``0x08``) contains: bit ``0`` = Memorised or bit ``1`` = Disabled ---- .. _CCreatureFileMemorizedSpellLevel: CCreatureFileMemorizedSpellLevel ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+------------------+--------------------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+------------------+--------------------------+ | 0x0 | 2 | unsigned __int16 | m_spellLevel | +------------+----------------------+------------------+--------------------------+ | 0x2 | 2 | unsigned __int16 | m_baseCount | +------------+----------------------+------------------+--------------------------+ | 0x4 | 2 | unsigned __int16 | m_count | +------------+----------------------+------------------+--------------------------+ | 0x6 | 2 | unsigned __int16 | m_magicType | +------------+----------------------+------------------+--------------------------+ | 0x8 | 4 | unsigned int | m_memorizedStartingSpell | +------------+----------------------+------------------+--------------------------+ | 0xC | 4 | unsigned int | m_memorizedCount | +------------+----------------------+------------------+--------------------------+ **Notes** Related to `CRE V1.0 Spell Memorization Info `_ * **m_magicType** (offset ``0x06``) contains: ``0`` = Priest, ``1`` = Wizard, ``2`` = Innate * **m_memorizedStartingSpell** (offset ``0x08``) index into memorized spells (array of :ref:`CCreatureFileMemorizedSpell` structures) of first memorized spell of this type in this level * **m_memorizedCount** (offset ``0x0C``) count of memorized spell entries in memorized spells array of memorized spells of this type in this level ---- .. _CCreatureFileOffsets: CCreatureFileOffsets ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+--------------------------+-------------------------------+ | **Offset** | **Size (Total: 100)** | **Type** | **Field** | +------------+-----------------------+--------------------------+-------------------------------+ | 0x0 | 1 | unsigned __int8 | m_enemyAlly | +------------+-----------------------+--------------------------+-------------------------------+ | 0x1 | 1 | unsigned __int8 | m_general | +------------+-----------------------+--------------------------+-------------------------------+ | 0x2 | 1 | unsigned __int8 | m_race | +------------+-----------------------+--------------------------+-------------------------------+ | 0x3 | 1 | unsigned __int8 | m_class | +------------+-----------------------+--------------------------+-------------------------------+ | 0x4 | 1 | unsigned __int8 | m_specifics | +------------+-----------------------+--------------------------+-------------------------------+ | 0x5 | 1 | unsigned __int8 | m_gender | +------------+-----------------------+--------------------------+-------------------------------+ | 0x6 | 5 | Array | m_specialCase | +------------+-----------------------+--------------------------+-------------------------------+ | 0xB | 1 | unsigned __int8 | m_alignment | +------------+-----------------------+--------------------------+-------------------------------+ | 0xC | 4 | int | m_instance | +------------+-----------------------+--------------------------+-------------------------------+ | 0x10 | 32 | Array | m_name | +------------+-----------------------+--------------------------+-------------------------------+ | 0x30 | 4 | unsigned int | m_knownSpellListOffset | +------------+-----------------------+--------------------------+-------------------------------+ | 0x34 | 4 | unsigned int | m_knownSpellListCount | +------------+-----------------------+--------------------------+-------------------------------+ | 0x38 | 4 | unsigned int | m_memorizationLevelListOffset | +------------+-----------------------+--------------------------+-------------------------------+ | 0x3C | 4 | unsigned int | m_memorizationLevelListCount | +------------+-----------------------+--------------------------+-------------------------------+ | 0x40 | 4 | unsigned int | m_memorizationSpellListOffset | +------------+-----------------------+--------------------------+-------------------------------+ | 0x44 | 4 | unsigned int | m_memorizationSpellListCount | +------------+-----------------------+--------------------------+-------------------------------+ | 0x48 | 4 | unsigned int | m_equipmentListOffset | +------------+-----------------------+--------------------------+-------------------------------+ | 0x4C | 4 | unsigned int | m_itemListOffset | +------------+-----------------------+--------------------------+-------------------------------+ | 0x50 | 4 | unsigned int | m_itemListCount | +------------+-----------------------+--------------------------+-------------------------------+ | 0x54 | 4 | unsigned int | m_effectListOffset | +------------+-----------------------+--------------------------+-------------------------------+ | 0x58 | 4 | unsigned int | m_effectListCount | +------------+-----------------------+--------------------------+-------------------------------+ | 0x5C | 8 | Array | m_dialog | +------------+-----------------------+--------------------------+-------------------------------+ **Notes** Related to offset ``0x0270`` of `CRE V1.0 Header `_ ---- .. _CCriticalEntry: CCriticalEntry ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-------------------------+--------------+ | **Offset** | **Size (Total: 28)** | **Type** | **Field** | +------------+----------------------+-------------------------+--------------+ | 0x0 | 8 | :ref:`CResRef` | m_res | +------------+----------------------+-------------------------+--------------+ | 0x8 | 4 | int | m_hitOrMiss | +------------+----------------------+-------------------------+--------------+ | 0xC | 4 | int | m_slot | +------------+----------------------+-------------------------+--------------+ | 0x10 | 4 | int | m_attackType | +------------+----------------------+-------------------------+--------------+ | 0x14 | 4 | int | m_itemType | +------------+----------------------+-------------------------+--------------+ | 0x18 | 4 | int | m_bonus | +------------+----------------------+-------------------------+--------------+ ---- .. _CCriticalEntryList: CCriticalEntryList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+----------------------------------------------------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 56)** | **Type** | **Field** | +------------+----------------------+----------------------------------------------------------------------------------------------------------+-------------+ | 0x0 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CCriticalEntry`\*> | baseclass_0 | +------------+----------------------+----------------------------------------------------------------------------------------------------------+-------------+ ---- .. _CCrypt: CCrypt ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+---------------------+----------+-----------+ | **Offset** | **Size (Total: 0)** | **Type** | **Field** | +------------+---------------------+----------+-----------+